<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1.0" />
    <title>小儿推拿</title>

    <%@ include file="/include/datetables.jsp"%>

</head>
<body>
<div class="Baby_Healthy_home">
    <!--左侧-->
    <jsp:include page="/include/menu.jsp" flush="true">
        <jsp:param name="index" value="6"/>
    </jsp:include>
    <!--右侧-->
    <div class="Baby_Healthy_home_right">
        <div class="Baby_Healthy_home_right_top">
            <ul class="Baby_Healthy_home_right_top_list card_bgc">
                <li class="num1"><a href="${pageContext.request.contextPath}/card/gotoCardManagement">卡项管理</a></li>
                <li class="num2 bespeak_active"><a href="${pageContext.request.contextPath}/card/gotoCouponManagement">优惠券管理</a></li>
            </ul>
        </div>
        <!--优惠券-->
        <div class="Baby_Healthy_home_right_bespeak_list">
            <ul class="zcnavbrand clearfix contain_bottom_line1">
                <li><a href="${pageContext.request.contextPath}/card/gotoCouponManagement" class="">优惠券管理</a></li>
                <li><a href="javascript:void(0)">添加优惠券</a></li>
            </ul>
            <div class="couponContent">
                <div name="form" class="couponWrapper">
                    <div class="couponOption">
                            <label class="formTipText">*&nbsp;优惠券名称：</label>
                            <input class="couponInput couponName" name="cardName" type="text" placeholder="请输入优惠券名称">
                    </div>
                    <div class="couponOption">
                        <label class="formTipText">*&nbsp;卡项图片：</label>
                        <form class="Js_uploadForm" method="post" enctype="multipart/form-data" id="Js_uploadForm" style= "height: 5rem;display:inline-block">
                            <div class="Js_preview">
                                <img class="imghead" border="0" src="/xrtn-manager/images/photo_icon.png" width="70" height="60">
                            </div>
                            <input type="file" name="cardImg" onchange="zcuploadImageCover(this)">
                        </form>
                    </div>
                    <div class="couponOption">
                        <label class="formTipText">*&nbsp;优惠券类别：</label>
                        <input class="couponTypeBtn checkBox" type="checkbox"   value="1"  name="cardType" /><span class="couponTypeText">满减券</span>
                        <input class="couponTypeBtn checkBox" type="checkbox"   value="2"  name="cardType"  /><span class="couponTypeText">体验券</span>
                        <input class="couponTypeBtn checkBox" type="checkbox"   value="3"  name="cardType" checked="checked"/><span class="couponTypeText">体验券</span>
                    </div>
                    <div class="couponOption">
                        <label class="formTipText">*&nbsp;售价：</label>
                        <input class="couponInput couponCount" type="text" name="cardCost">优惠价 <input class="couponInput couponCount" name="discountCost" type="text" > 元
                    </div>
                    <div class="couponOption">
                        <label class="formTipText">*&nbsp;消费满：</label>
                        <input class="couponInput couponCount" type="text" name="targetCost">减 <input class="couponInput couponCount" name="discountCosts" type="text" > 元
                    </div>
                    <div class="couponOption">
                        <label class="formTipText" style="vertical-align: top">使用说明：</label>
                        <textarea class=" couponDesc" placeholder="请输入使用说明" name="discountDesc"></textarea>
                    </div>
                    <div class="couponOption">
                        <label class="formTipText">*&nbsp;有效时间：</label>
                        <input class="couponInput couponNum" type="text" name="validDay" placeholder="自定义"> 天
                    </div>
                    <div class="couponOption">
                        <input class="couponInput couponNum" type="hidden" name="serviceId" placeholder="自定义"> 天
                    </div>
                    <div class="couponOption">
                        <label class="formTipText">可使用门店：</label>
                        <select name="subclinicIds" id="" class="couponInput couponShop">
                            <option value="全部门店">全部门店</option>
                            <option value="">顺义</option>
                            <option value="">望京</option>
                            <option value="">大望路</option>
                        </select>
                    </div>
                    <div class="cols10 buttongroup">
                        <button class="storeSetting_btn_color btn_active_color edit_ok"><a class="btn_fontColor btn_active_fontColor" href="javascript:void(0)">保存</a></button>
                        <button class="storeSetting_btn_color edit_cancel"><a class="btn_fontColor" href="javascript:void(0)">取消</a></button>
                    </div>
                </div>
                <div class="cols10 buttongroup submitBtns">
                    <button class="storeSetting_btn_color sureBtn">提交</button>
                    <button class="storeSetting_btn_color putawayBtn">上架</button>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
<script src="${pageContext.request.contextPath}/js/couponContent.js"></script>
<script>
    $(function(){

    });
</script>
</html>